package com.sfh.cp.mass.pst;

import com.sfh.cp.mass.ReqAddMassContent;
import com.sfh.cp.mass.pst.impl.PstMassAddContent;
import com.sfh.lib.mvp.IPresenter;
import com.sfh.lib.mvp.IView;
import com.sfh.lib.mvp.annotation.Service;

import java.util.List;

import crm.sfh.server.entity.EMass;

/**
 * 功能描述:
 *
 * @date 2018/5/2
 */
@Service(achieve = PstMassAddContent.class)
public interface IPstMassAddContent extends IPresenter<IPstMassAddContent.IVAddMassContent>{
    interface IVAddMassContent extends IView{
        void onFileSuccess(List<String> urls);
        void onAddSuccess();
        void onListMass(List<EMass> data);
    }
    void updateFile(List<String> file);

    void add(ReqAddMassContent req);

    void listMass();
}
